package lib.bone.audit.impl;

import lib.bone.audit.workload.dao.NepuWorkloadDAO;
import lib.bone.nepudata.expose.WorkloadService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 继承 nepu-data 接口实现
 */
@Slf4j
@Service
public class DataWorkloadServiceImpl implements WorkloadService {

    @Autowired
    NepuWorkloadDAO dao;
    @Override
    public Integer countByLinkId(String linkId) {
        return dao.countByLinkId(linkId);
    }
}
